package pri.black.dogview.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import pri.black.dogview.domain.Admin;

public interface AdminMapper extends BaseMapper<Admin> {
    @Update("update admin set token = null where id = #{id}")
    int emptyToken(@Param("id") Long id);
}
